import { Tab, Tabs } from "@nextui-org/react";
import { LoginForm } from "./LoginForm";
import { RegisterForm } from "./RegisterForm";
import { useRouter } from "next/navigation";

export function AuthForm() {
    const router = useRouter();

    if (false) {
        router.replace('dashboard')
    }
    else return (
        <div className='flex gap-1'>
            <RegisterForm />
            <LoginForm />
        </div>
    );
}